﻿import http from '@/utils/http';

export default {
    getUserList: (data?: any) => http({ url: '/api/user/list', data, loading: true, method: 'post' }),
    getList: (query?: any) => http({ url: '/api/demo', query, loading: true, method: 'get' }),
    getListPost: (data?: any) => http({ url: '/api/demo', data, loading: true, method: 'post' }),
    getListParams: (query?: any) => http({ url: `/api/demo/${query.id}`, loading: true, method: 'get' }),
};
